package cn.liontalk.CompositePattern.normal.touming;

import java.util.List;

public abstract class Employee3 {

    private String name;
    private List<Employee3> employees;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Employee3> getEmployees() {
        return employees;
    }

    public void setEmployees(List<Employee3> employees) {
        this.employees = employees;
    }

    public abstract void add(Employee3  employee3);

    public abstract  void remove(Employee3 employee3);

    public abstract  void display(int index);
}
